package vn.ebuzz.sms.core;

public class Util {
	public static boolean isValidParam(String param){
		if(param == null || param.length() == 0)
			return false;
		else
			return true;
	}
	
	public static int countLength(String message){
		int length = message.length();
		if(length <= 160)
			return 1;
		else
			return (int) Math.ceil(length / 153);
	}
}
